export default {
  height:'auto',
  calcHeight: 30,
  tip: false,
  searchShow: true,
  searchMenuSpan: 12,
  border: true,
  index: true,
  viewBtn: true,
  selection: true,
  dialogClickModal: false,
  indexWidth: 80,
  indexLabel: '编号',
  menuWidth: 420,
  align: 'center',
  searchMenuPosition: 'right',
  dialogWidth: '30%',
  addBtnText:'添加计划',
  editBtn:false,
  delBtn:false,
  column: [
    {
      label: "主键",
      prop: "id",
      type: "input",
      addDisplay: false,
      editDisplay: false,
      viewDisplay: false,
      hide: true,
    },
    {
      label: "租户ID",
      prop: "tenantId",
      type: "input",
      addDisplay: false,
      editDisplay: false,
      viewDisplay: false,
      hide: true,
    },
    {
      label: "创建人",
      prop: "createUser",
      type: "input",
      addDisplay: false,
      editDisplay: false,
      viewDisplay: false,
      hide: true,
    },
    {
      label: "创建部门",
      prop: "createDept",
      type: "input",
      addDisplay: false,
      editDisplay: false,
      viewDisplay: false,
      hide: true,
    },
    {
      label: "修改时间",
      prop: "updateTime",
      type: "input",
      addDisplay: false,
      editDisplay: false,
      viewDisplay: false,
      hide: true,
    },
    {
      label: "状态",
      prop: "status",
      type: "input",
      addDisplay: false,
      editDisplay: false,
      viewDisplay: false,
      hide: true,
    },
    {
      label: "是否已删除",
      prop: "isDeleted",
      type: "input",
      addDisplay: false,
      editDisplay: false,
      viewDisplay: false,
      hide: true,
    },
    {
      label: "计划名称",
      prop: "name",
      type: "input",
      search: true,
      span:24,
      rules: [
        {
          required: true,
          message: '请输入计划名称',
          trigger: 'blur',
        },
      ],
      overHidden: true,
    },
    {
      label: "描述",
      prop: "description",
      type: 'textarea',
      minRows: 3,
      maxRows: 5,
      span: 24,
      overHidden: true,
      search: true,
    },
    {
      label: '是否共享',
      prop: 'isShareSelect',
      type: 'select',
      slot: true,
      dicData: [
        {
          label: '公开共享',
          value: 1,
        },
        {
          label: '机构共享',
          value: 2,
        },
        {
          label: '私 有',
          value: 3,
        },
      ],
      addDisplay: false,
      editDisplay: false,
      viewDisplay: false,
      hide: false,
    },
    {
      label: "创建时间",
      prop: "createTime",
      type: "input",
      addDisplay: false,
      editDisplay: false,
      viewDisplay: false,
      overHidden: true,
    },
    {
      label: "备注",
      prop: "remark",
      type: "input",
      hide:true,
      addDisplay: false,
      editDisplay: false,
      viewDisplay: false,
    },
    {
      label: "机构共享",
      prop: "deptShare",
      type: "input",
      hide:true,
      addDisplay: false,
      editDisplay: false,
      viewDisplay: false,
    },
    {
      label: "公开共享",
      prop: "publicShare",
      type: "input",
      hide:true,
      addDisplay: false,
      editDisplay: false,
      viewDisplay: false,
    },
  ]
}
